//
//  TitleBottomView.m
//  JJHW_coreData
//
//  Created by lizhenqiang on 16/4/10.
//  Copyright © 2016年 HFKJ_LZQ. All rights reserved.
//

#import "TitleBottomView.h"

@implementation TitleBottomView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myWidth = frame.size.width;
        self.myHeight = frame.size.height;
        
    }
    return self;
}

- (NSInteger)numberOfItemsInCarousel:(__unused iCarousel *)carousel
{
    return 0;
}

- (UIView *)carousel:(__unused iCarousel *)carousel viewForItemAtIndex:(NSInteger)index reusingView:(UIView *)view
{
    
    //    CGFloat screenW = DeviceWidth;
    //    UIImageView *imgView = nil;
    //    if (view == nil){
    //    view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, screenW/4.0, screenW*280.0/1080.0)];
    //    imgView = [[UIImageView alloc] initWithFrame:CGRectMake((view.frame.size.width-screenW*260.0/1080.0)/2.0, screenW*10.0/1080.0, screenW*260.0/1080.0, screenW*260.0/1080.0)];
    //    imgView.tag = 2001;
    //    [view addSubview:imgView];
    //    }else{
    //        imgView = (UIImageView *)[view viewWithTag:2001];
    //    }
    //        return view;
    return nil;
    
}
- (void)carousel:(iCarousel *)carousel didSelectItemAtIndex:(NSInteger)index
{
    //self.VC push
}
@end
